<?php /* Smarty version 2.6.18, created on 2015-09-01 12:13:19
         compiled from editUser.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "left.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">编辑用户</a>
							</li>
						</ul><!-- .breadcrumb -->
					</div>

			<div class="page-content">

						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
								
								<div class="row">
									<div class="col-sm-12">
										<div class="widget-box">
											<div class="widget-header header-color-blue2">
												<h4 class="lighter smaller"></h4>
											</div>

											<div class="widget-body">
												<div class="widget-main padding-8">
						 
						 
						 
						<form class="form-horizontal" role="form">
							
									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-5">用户名:</label>
										
										<div class="col-sm-6">
												<input type="text" id="form-field-1" class="col-xs-3 col-sm-5" value="<?php echo $this->_tpl_vars['user_name']; ?>
" disabled="disabled" >
												<span class="help-inline col-xs-12 col-sm-7">
												<span class="middle">用户名不能修改</span>
										</span>
										</div>
							
									</div>

									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-5">密　码:</label>

										<div class="col-sm-6">
												<input type="password"  placeholder="" value="******" id="form-field-2" class="col-xs-3 col-sm-5">
											<span class="help-inline col-xs-12 col-sm-7">
												<span class="middle" style="color:red">如需修改请填写,不修改无需填写</span>
											</span>
										</div>	
									
							
									</div>
									
									<div class="space-4"></div>
									
									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-5">姓　名:</label>
										
										<div class="col-sm-6">
											<input type="text" id="form-field-3" class="col-xs-3 col-sm-5" value="<?php echo $this->_tpl_vars['user_realName']; ?>
" >
											<span class="help-inline col-xs-12 col-sm-7">
												<span class="middle">请输入用户姓名</span>
											</span>
										</div>
						
									</div>
									
									<div class="form-group">
											
												<label class="col-sm-4 control-label no-padding-right" for="form-field-5">角　色:</label>
											<div class="col-sm-6">
														<select class="col-xs-10 col-sm-5" id="selectRole">
									
																<option value="">选择角色</option>
																<option value="0"  <?php if ($this->_tpl_vars['role'] == 0): ?>selected<?php endif; ?> >普通用户</option>
																<option value="1" <?php if ($this->_tpl_vars['role'] == 1): ?>selected<?php endif; ?> >管理员</option>
															
														</select>
														</select>
											</div>			
													
									</div>
									
										<div class="form-group">
															<label class="col-sm-4 control-label no-padding-right" for="form-field-5">游　戏:</label>
															<div class="col-sm-6">
					
												<div class="form-group">
													<?php if ($this->_tpl_vars['game']): ?>
													<?php $_from = $this->_tpl_vars['game']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['game']):
?>
													
													<?php if ($this->_tpl_vars['k'] > 0 && $this->_tpl_vars['k']%3 == 0): ?>
													  <br/><br/>
													 <?php endif; ?>
													&nbsp;
													
													
													<input  <?php if ($this->_tpl_vars['game']['checked'] && $this->_tpl_vars['game']['checked'] == 1): ?> checked <?php endif; ?> name="checkboxs" type="checkbox" class="ace ace-checkbox-2" id="game_<?php echo $this->_tpl_vars['game']['game']; ?>
"   value = "<?php echo $this->_tpl_vars['game']['game']; ?>
" />
													<label style="width:90px;" class="lbl" for="ace-settings-navbar">&nbsp;<?php echo $this->_tpl_vars['game']['game']; ?>
</label>
													&nbsp;
													
													<?php endforeach; endif; unset($_from); ?>
													<?php endif; ?>	
						
												</div>
												</div>				
										</div>
									
										<div class="form-group">
															<label class="col-sm-4 control-label no-padding-right" for="form-field-5">权　限:</label>
															<div class="col-sm-6">
					
												<div class="form-group">
													<?php if ($this->_tpl_vars['nodes']): ?>
													<?php $_from = $this->_tpl_vars['nodes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['node']):
?>
													
													<?php if ($this->_tpl_vars['k'] > 0 && $this->_tpl_vars['k']%3 == 0): ?>
													  <br/><br/>
													 <?php endif; ?>
													&nbsp;
													<input <?php if ($this->_tpl_vars['node']['checked'] && $this->_tpl_vars['node']['checked'] == 1): ?> checked <?php endif; ?>  name="checkboxs_node" type="checkbox" class="ace ace-checkbox-2" id="node_<?php echo $this->_tpl_vars['node']['name']; ?>
"   value = "<?php echo $this->_tpl_vars['node']['id']; ?>
" />
													<label style="width:90px;" class="lbl" for="ace-settings-navbar">&nbsp;<?php echo $this->_tpl_vars['node']['name']; ?>
</label>
													&nbsp;
													
													<?php endforeach; endif; unset($_from); ?>
													<?php endif; ?>	
						
												</div>
												
													</div>				
										</div>	
									
									<h3 class="header smaller lighter green"></h3>
													<div class="clearfix">
														<center>
															<button type="button" onclick = "addUser();" class="btn btn-info btn-success">
																<!--<i class="icon-bolt"></i>-->
																更新
															</button>
														</center>
													</div>
							</form>
							</div>
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
				</div>
				</div>
				</div>
				</div>
				</div>
				
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
